Anagram program with sentences